package com.ai.bitcoin.service;

import com.ai.bitcoin.bo.HtmlReportGenerateBO;
import com.ai.bitcoin.exception.BusinessException;
import com.ai.bitcoin.vo.HtmlReportGenerateVO;

/**
 * Created by gulj on 2018/6/11.
 */
public interface HtmlReportService {

    /**
     * 根据用户是否订阅，生成订阅和非订阅报告
     *
     * @param htmlReportGenerateBO
     * @return
     */
    HtmlReportGenerateVO generate(HtmlReportGenerateBO htmlReportGenerateBO) throws BusinessException;

    /**
     * 判断用户是否已经订阅该币
     *
     * @param htmlReportGenerateBO
     * @return
     */
    boolean checkSubscribe(HtmlReportGenerateBO htmlReportGenerateBO) throws BusinessException;
}
